<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2018/5/3
  Time: 14:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=utf-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<style type="text/css">
    .keywords {
        width: 250px;
        font-family: '微软雅黑', sans-serif, serif;
    }
    .span_h{
        background-color: #eff0f1;display: block;height: 30px;
        font-size: 16px;
        line-height:30px;
    }

</style>
<script>
    $(function(){
        window.setTimeout(function(){
            $(".gridCol").removeAttr("title");
        },500);
    });

</script>
<div class="pageHeader">
    <c:if test="${cInfo.roletype=='1'}">
    <form rel="pageForm" onsubmit="return navTabSearch(this);" action="<c:url value='/danger/info/typetj/1'/>" method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td class="dateRange">
                        上传时间：
                        <input type="text" value="<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>" readonly="readonly"
                               class="date" name="start" dateFmt="yyyy-MM-dd" style="width: 100px;" id="start2">
                        <span class="limit">-</span>
                        <input type="text" value="<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>" readonly="readonly"
                               class="date" name="end"  dateFmt="yyyy-MM-dd" style="width: 100px;" id="end2">
                    </td>
                    <td>
                        <div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
                        <div class="buttonActive"><div class="buttonContent"><button type="button" onclick="exportLxForm()"> 导出</button></div></div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
    </c:if>
</div>
<div class="pageContent">
    <table class="table" width="100%" layoutH="86">
        <thead>

        <tr>
            <th width="120" align="center" >序号</th>
            <th width="280" align="center" >社区</th>
            <th width="120" align="center"  title="生产、经营、储存区与住宿区未采用实体墙分隔">1</th>
            <th width="120" align="center" title="居住房屋违法生产、经营、储存易燃易爆危险品">2</th>
            <th width="120" align="center" title="违法建筑、违法搭建、门窗铁栅栏">3</th>
            <th width="120" align="center" title="住宿区域违法群租">4</th>
            <th width="120" align="center" title="电动自行车在室内公共空间停放、充电">5</th>
            <th width="120" align="center" title="疏散通道和安全出口占用、堵塞">6</th>
            <th width="120" align="center" title="住宿场所未按规定设置消防设施、器材">7</th>
            <th width="120" align="center" title="住宿场所未明确消防安全管理责任人">8</th>
            <th width="120" align="center" title="三合一总数">三合一总数</th>
            <th width="120" align="center" title="出租人、转租人放任出租房屋消防安全管理">9</th>
            <th width="120" align="center" title="违法建筑和非居住场所出租居住">10</th>
            <th width="120" align="center" title="擅自改变房屋原有结构、装修分隔及违法群租">11</th>
            <th width="120" align="center" title="出租房屋用于生产、经营、储存易燃易爆危险品">12</th>
            <th width="120" align="center" title="出租房卧室内使用明火">13</th>
            <th width="120" align="center" title="出租房屋擅自安装门窗障碍物">14</th>
            <th width="120" align="center" title="电动自行车在室内公共空间停放、充电">15</th>
            <th width="120" align="center" title="出租房总数" >出租房总数</th>
            <th width="120" align="center" title="生产、销售不合格电动自行车">16</th>
            <th width="120" align="center" title="从非法渠道购买电动自行车及电瓶">17</th>
            <th width="120" align="center" title="私自改装电动自行车">18</th>
            <th width="120" align="center" title="在不合规地下室停放电动自行车">19</th>
            <th width="120" align="center" title="电动自行车在室内公共空间停放、充电">20</th>
            <th width="120" align="center" title="物业管理单位放任电动自行车违规停放、充电">21</th>
            <th width="120" align="center" title="电动车总数">电动车总数</th>
            <th width="120" align="center">总数</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${list}" var="list" varStatus="state" >
            <tr>
                <td>${state.count+(pager.pageNum-1)*pager.numPerPage}</td>
                <td >
                            ${list.name}
                </td>

                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=4&type=1"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="生产、经营、储存区与住宿区未采用实体墙分隔" rel="page_info1_detail1">${list.count1}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=5&type=1"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="居住房屋违法生产、经营、储存易燃易爆危险品" rel="page_info1_detail1">${list.count2}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=6&type=1"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="违法建筑、违法搭建、门窗铁栅栏" rel="page_info1_detail1">${list.count3}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=7&type=1"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="住宿区域违法群租" rel="page_info1_detail1">${list.count4}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=8&type=1"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="电动自行车在室内公共空间停放、充电" rel="page_info1_detail1">${list.count5}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=9&type=1"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="疏散通道和安全出口占用、堵塞" rel="page_info1_detail1">${list.count6}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=10&type=1"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="住宿场所未按规定设置消防设施、器材" rel="page_info1_detail1">${list.count7}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=11&type=1"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="住宿场所未明确消防安全管理责任人" rel="page_info1_detail1">${list.count8}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=&type=1"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="三合一总数" rel="page_info1_detail1">${list.shycount}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=12&type=2"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="出租人、转租人放任出租房屋消防安全管理" rel="page_info1_detail1">${list.count9}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=13&type=2"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="违法建筑和非居住场所出租居住" rel="page_info1_detail1">${list.count10}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=14&type=2"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="擅自改变房屋原有结构、装修分隔及违法群租" rel="page_info1_detail1">${list.count11}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=15&type=2"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="出租房屋用于生产、经营、储存易燃易爆危险品" rel="page_info1_detail1">${list.count12}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=16&type=2"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="出租房卧室内使用明火" rel="page_info1_detail1">${list.count13}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=17&type=2"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="出租房屋擅自安装门窗障碍物" rel="page_info1_detail1">${list.count14}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=18&type=2"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="电动自行车在室内公共空间停放、充电" rel="page_info1_detail1">${list.count15}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=&type=2"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="出租房总数" rel="page_info1_detail1">${list.czfcount}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=19&type=3"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="生产、销售不合格电动自行车" rel="page_info1_detail1">${list.count16}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=20&type=3"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="从非法渠道购买电动自行车及电瓶" rel="page_info1_detail1">${list.count17}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=21&type=3"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="私自改装电动自行车" rel="page_info1_detail1">${list.count18}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=22&type=3"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="在不合规地下室停放电动自行车" rel="page_info1_detail1">${list.count19}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=23&type=3"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="电动自行车在室内公共空间停放、充电" rel="page_info1_detail1">${list.count20}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=24&type=3"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="物业管理单位放任电动自行车违规停放、充电" rel="page_info1_detail1">${list.count21}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=&type=3"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="电动车总数" rel="page_info1_detail1">${list.ddccount}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/typetj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&childType=&type="
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="总数" rel="page_info1_detail1">${list.totalcount}</a></td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
</div>
<script type="text/javascript">
    function exportLxForm(){
        var url = "<c:url value='/danger/info/typetjExport/1'/>?start="+$("#start2").val()+"&end="+$("#end2").val();
        window.open(url,"_blank");
    }
</script>
